<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>
        <#--<th>体检ID</th>-->
        <th>体检日期</th>
        <#--<th>卡号</th>-->
        <th>客户姓名</th>
        <th>性别</th>
        <th>年龄</th>
        <th>联系电话</th>
    <#--<th>身份证号</th>-->
        <th>体重</th>
        <th width="120px">疾病诊断</th>
       <th>总检日期</th>
    <#--<th>领取状态</th>-->
        <#--<th>部门</th>-->
        <th>单位</th>
        <th>一次跟进人</th>

        <th>一次讲解医生</th>
        <th>二次跟进人</th>
        <th>二次讲解医生</th>
        <th>下次跟进日期</th>
        <th>是否促成</th>
        <th>是否回访</th>
        <th>是否会员</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if xcGsgjsTable.rows??>
        <#list xcGsgjsTable.rows as xcGsgj>
        <tr>
            <td><input name="ids" type="checkbox" value="${xcGsgj.id?c}"></td>
         <#--   <td>${xcGsgj.spareB!''}</td>-->
            <td>${xcGsgj.tjStart!''}</td>
            <#--<td>${xcGsgj.cardNo!''}</td>-->
            <td>${xcGsgj.customerName!''}</td>
            <td>${xcGsgj.sex!''}</td>
            <td>${xcGsgj.age!''}</td>
            <td>${xcGsgj.phone!''}</td>
        <#--<td>${xcGsgj.idNo!''}</td>-->
            <td>${xcGsgj.weight!''}</td>
            <td>${xcGsgj.disease!''}</td>
          <td>${xcGsgj.ZDate!''}</td>
        <#--<td>${xcGsgj.status!''}</td>-->
            <#--<td>${xcGsgj.spareE!''}</td>-->
            <td>${xcGsgj.spareA!''}</td>
            <td>${xcGsgj.userName!''}</td>
            <td>${xcGsgj.doctorName!''}</td>
            <td>${xcGsgj.twoFollow!''}</td>
            <td>${xcGsgj.twoDoctorName!''}</td>
            <td>${xcGsgj.nextTjDate!''}</td>
            <td>
                <@display list=whetherList value="${xcGsgj.whether!''}"/>
            </td>
            <td>
                <@display list=whetherList value="${xcGsgj.spareD!''}"/>
            </td>
            <td>
                <@display list=whetherList value="${xcGsgj.spareF!''}"/>
            </td>
            <td>
                <a class="btn btn-red btn-radio nopadding" onclick="return popAddGjjl(${xcGsgj.id?c});" title="高筛跟进"><i
                        class="fa fa-file-text"></i></a>

                <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${xcGsgj.id?c});"
                   title="编辑"><i class="fa fa-edit"></i></a>

        </tr>
        </#list>
    </#if>
    <#if xcGsgjHj??>
    <tr style="background-color:greenyellow">
        <td></td>
        <td>合计</td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>


        <td>${xcGsgjHj.id!''}</td>

        <td></td><td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
    </#if>
    </tbody>
</table>
<#if xcGsgjsTable??>
    <@page table=xcGsgjsTable formId="search_xcGsgj_table"/>
</#if>